package com.cf.core.event;

import com.cf.Event;

/**
 * game-server-HeartbeatEvent
 * 心跳消息
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/4/27 下午 05:57
 */
public class HeartbeatEvent implements Event {

    private Integer gameTime;

    private Integer leftTime;

    public HeartbeatEvent() {
    }

    public HeartbeatEvent(Integer gameTime, Integer leftTime) {
        this.gameTime = gameTime;
        this.leftTime = leftTime;
    }

    public Integer getGameTime() {
        return gameTime;
    }

    public void setGameTime(Integer gameTime) {
        this.gameTime = gameTime;
    }

    public Integer getLeftTime() {
        return leftTime;
    }

    public void setLeftTime(Integer leftTime) {
        this.leftTime = leftTime;
    }
}
